<header class="topnav topbar">
    <div class="container">
        <div class="navbar navbar-expand-lg navbar-light">
            <ul class="nav navbar-menu align-items-center ml-auto">
                <li class="nav-item dropdown">
                    <a href="#" data-toggle="dropdown"
                        class="nav-link d-flex align-items-center py-0 px-lg-0 px-2 text-reset ml-2">
                        <span class="avatar avatar-sm" style="background-image: url(/assets/image/odin.jpeg)" id="user_avatar"></span>
                        <span class="ml-2 d-none d-lg-block leading-none" id="user_info">
                            Odin
                            <span class="text-muted d-block mt-1 text-h6">Administrator</span>
                        </span>
                    </a>
                    <div class="dropdown-menu dropdown-menu-right dropdown-menu-arrow">
                        <a class="dropdown-item" href="/user/setting">
                            {{include "partials/svg/setting"}}
                            设置
                        </a>
                        <a class="dropdown-item" href="/user/change_password">
                            {{include "partials/svg/option"}}
                            修改密码
                        </a>
                        <a class="dropdown-item" href="/logout">
                            {{include "partials/svg/exit"}}
                            退出登录
                        </a>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</header>